#include "PlayState.h"

PlayState::PlayState(){
}

PlayState::~PlayState(){
}

void PlayState::initialize(){
	GameState::initialize();
	renderer.initialize();
}

void PlayState::cleanup(){
}

StateType PlayState::events(){
	return NULL_STATE;
}

StateType PlayState::run(){
	GameState::run();
	StateType newState = events();
	if(newState != NULL_STATE){
		return newState;
	}
	renderer.render();
	return NULL_STATE;
}